package com.nineshadow.games.constants;

/**
 * 通用常量
 */
public class CommonConstants {
    //reids中玩家信息相关
    public static String USER="USER:";
    public static String USER_SCORE="score";
    public static String USER_ROOM="roomId";
    public static String USER_IS_SEND="is_send";
    public static String USER_VOICE_ROOM="voice_room";

    //用户轮询队列
    public static String USER_POLL_QUEUE="USER_POLL_QUEUE:";

    //redis中所有房间
    public static String AllROOM="ALLROOM";

    //reids中房间信息
    public static String ROOM="ROOM:";


    public static String AGAIN="AGAIN:";
    public static String AGAIN_NUM="AGAIN_NUM";


    public static String QUIT_ROOM="QUIT_ROOM:";

    /**
     * 过期时间 （s）
     */
    public static long EXPIRE_TIME=10;

}
